package com.example.myapplication.ui.home.entity;

public class Data {
    /**
     * 唯一id
     */
    private Long id;
    /**
     * 图片地址
     */
    private String imageUrl;
    /**
     * 抬头名称
     */
    private String titleName;
    /**
     * 内容
     */
    private String content;

    public Data(Long id, String content, String titleName, String imageUrl) {
        this.id = id;
        this.content = content;
        this.titleName = titleName;
        this.imageUrl = imageUrl;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getTitleName() {
        return titleName;
    }

    public void setTitleName(String titleName) {
        this.titleName = titleName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
